﻿<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="InstantSurvey" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xe="http://www.CrossFactory.net/XmlEditor">
  <xs:complexType name="InstantSurveycontent">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="instantsurvey" type="instantsurvey" maxOccurs="1" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="instantsurvey">
    <xs:sequence>
      <xs:element name="title" type="text" minOccurs="1" maxOccurs="1" xe:defaultOccurs="1"/>
      <xs:element name="question" type="text" minOccurs="1" maxOccurs="1" xe:defaultOccurs="1"/>
      <xs:element name="answer" type="text" minOccurs="2" maxOccurs="99" xe:defaultOccurs="2"/>
<!--     
      <xs:element name="TitleText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
-->
      <xs:element name="TitleCssClass" default="SiteNOTE_InstantSurvey_Title" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
<!--     
      <xs:element name="QuestionText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
-->
      <xs:element name="QuestionCssClass" default="SiteNOTE_InstantSurvey_Question" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="FormCssClass" default="SiteNOTE_InstantSurvey_Form" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="RadioButtonListCssClass" default="SiteNOTE_InstantSurvey_RadioButtonList" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="CssClass" default="SiteNOTE_InstantSurvey" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonCssClass" default="SiteNOTE_InstantSurvey_Button" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonTextCssClass" default="SiteNOTE_InstantSurvey_ButtonText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonImageUrl" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonImageCssClass" default="SiteNOTE_InstantSurvey_ButtonImage" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonViewResultText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonViewResultCssClass" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonViewResultTextCssClass" default="SiteNOTE_InstantSurvey_ButtonViewResultText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonViewResultImageUrl" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonViewResultImageCssClass" default="SiteNOTE_InstantSurvey_ButtonViewResultImage" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonBackToVoteText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonBackToVoteCssClass" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonBackToVoteTextCssClass" default="SiteNOTE_InstantSurvey_ButtonBackToVoteText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonBackToVoteImageUrl" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ButtonBackToVoteImageCssClass" default="SiteNOTE_InstantSurvey_ButtonBackToVoteImage" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ResultCssClass" default="SiteNOTE_InstantSurvey_Result" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ResultAnswerCssClass" default="SiteNOTE_InstantSurvey_ResultAnswer" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ResultTextCssClass" default="SiteNOTE_InstantSurvey_ResultText" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ResultBarCssClass" default="SiteNOTE_InstantSurvey_ResultBar" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ResultBarFullWidthPixels" default="100" type="text" minOccurs="1" maxOccurs="1" xe:property="true" />
      <xs:element name="ValidationErrorMessage" type="text" default="Please select one of answers." minOccurs="0" maxOccurs="1" xe:property="true" xe:defaultOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InstantSurveycontent" type="InstantSurveycontent"></xs:element>
</xs:schema>
